package Javatest2;

public class test1 {
    public static void main(String[] args) {
        double v1=42.5637,v2,v3,v4;
        v2=v1*1000;
        System.out.println(v2);
        v3=v2+0.5;
        System.out.println(v3);
        int v5=(int)v3;
        System.out.println(v5);
        v4=v5/1000.0;
        System.out.println(v4);

    }
}
